package com.example.interactservice;

import com.example.feign.config.FeignConfiguration;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@Slf4j
@SpringBootApplication
@ComponentScan(basePackages = {"com.example.commom.utils", "com.example.interactservice"})
@EnableFeignClients(defaultConfiguration = FeignConfiguration.class, basePackages = "com.example.feign.client")
public class InteractServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(InteractServiceApplication.class, args);
        log.info("interact-service 互动服务开始启动......");
    }

}
